#### Governing Code to Run All Replication Scripts####

#This script runs each of the scripts in the Replication file, in the appropriate order, save for "withinsims.R"
# The "withindonorsims.R" script is provided in case replicators would like to change simulated outcomes, 
#but it is not necessary to run for Replication of the results, and is left out due to the length it takes to run

#Clear environment
rm(list=ls());gc();gc();gc();gc()

mem.maxVSize(vsize=1000000)

#Run each Script in Order

source(here("Scripts","Fig1Script.R"), echo=T,max.deparse.length=Inf)
source(here("Scripts","FigA1Script.R"), echo=T,max.deparse.length=Inf)
source(here("Scripts","FigA2Script.R"), echo=T,max.deparse.length=Inf)
source(here("Scripts","FigA3A4Script.R"), echo=T,max.deparse.length=Inf)
source(here("Scripts","FigA5A6Script.R"), echo=T,max.deparse.length=Inf)
source(here("Scripts","FigA7A8A9Script.R"), echo=T,max.deparse.length=Inf)
source(here("Scripts","FigA11Script.R"), echo=T,max.deparse.length=Inf)
source(here("Scripts","FigA12Script.R"), echo=T,max.deparse.length=Inf)
source(here("Scripts","FigA13A14Script.R"), echo=T,max.deparse.length=Inf)
source(here("Scripts","Tab2A13Script.R"), echo=T,max.deparse.length=Inf)
source(here("Scripts","Tab3A19A20Script.R"), echo=T,max.deparse.length=Inf)
source(here("Scripts","TabA5A6Script.R"), echo=T,max.deparse.length=Inf)
source(here("Scripts","TabA7A8Script.R"), echo=T,max.deparse.length=Inf)
source(here("Scripts","TabA9Script.R"), echo=T,max.deparse.length=Inf)
source(here("Scripts","TabA12Script.R"), echo=T,max.deparse.length=Inf)
source(here("Scripts","TabA14-A18FigA10Script.R"), echo=T,max.deparse.length=Inf)
